<template>
  <d2-crud-x
    style="padding: 0 10px"
    :pagination="null"
    ref="d2Crud"
    :data="data"
    v-bind="_crudProps"
    v-on="_crudListeners"
  >
    <div slot="header">
      <el-form size="small" style="padding-top: 15px;padding-left: 10px"
        :inline="true" class="d2p-search-form" >
        <el-form-item label="汇总币别">
          <el-input/>
        </el-form-item>
        <el-form-item label="支付币别">
          <el-input/>
        </el-form-item>

        <el-form-item class="search-btns">

          <el-button size="small" type="primary">计算</el-button>
        </el-form-item>
        <slot name="suffix" :form="this.form"></slot>
      </el-form>

    </div>
  </d2-crud-x>
</template>

<script>
import {crudOptions} from './crud'
import {d2CrudPlus} from 'd2-crud-plus'

export default {
  name: 'formDate',
  mixins: [d2CrudPlus.crud],
  methods: {
    doLoad(){

    },
    getCrudOptions() {
      return crudOptions
    },
  },
  props:{
    data: {
      type: Array,
      default(){
        return []
      }
    }
  }
}
</script>
